package net.huashitong.ssydt.task.vo;


import net.huashitong.ssydt.task.entity.SsTaskMedal;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2018.01.12
 */
public class TaskMedalVO implements Serializable {

    private static final long serialVersionUID = -3804036214348553224L;

    private String images;//图片url

    private String lightImages;//图片Url点亮样式

    private String name;//名称

    private String content;//介绍

    private BigDecimal extraScore;//附加分

    private Boolean light = false;//是否点亮

    public TaskMedalVO(SsTaskMedal ssTaskMedal) {
        this.images = ssTaskMedal.getImages();
        this.lightImages = ssTaskMedal.getLightImages();
        this.name = ssTaskMedal.getName();
        this.content = ssTaskMedal.getContent();
        this.extraScore = ssTaskMedal.getExtraScore();
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public BigDecimal getExtraScore() {
        return extraScore;
    }

    public void setExtraScore(BigDecimal extraScore) {
        this.extraScore = extraScore;
    }

    public Boolean getLight() {
        return light;
    }

    public void setLight(Boolean light) {
        this.light = light;
    }

    public String getLightImages() {
        return lightImages;
    }

    public void setLightImages(String lightImages) {
        this.lightImages = lightImages;
    }
}
